package org.way.iam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@TableName("sys_user_role")
public class SysUserRoleEntity implements Serializable {

    @TableId(type = IdType.ASSIGN_UUID)
    private static final long serialVersionUID = -77177076272632711L;

    private String id;
    /**
     * 用户
     */
    private String userId;
    /**
     * 角色
     */
    private String roleId;

}

